package pri.damai.xiaowu.usercenter.form;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 角色表(SysRole)表实体类
 * @Desc
 * @Author DaMai
 * @Date 2022-03-03 17:00:32
 */
@Data
public class SysRoleForm {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "系统id")
    private Long sysId;

    @Schema(description = "组织机构Id")
    private Long orgId;

    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "角色描述")
    private String desc;

    @Schema(description = "角色数据范围(1:自己；2:同级；3:同级及以下机构；4:顶级机构及以下数据；5:所有数据)")
    private Integer scope;
}
